package com.flurry.android.caching;

import android.util.Log;
import com.flurry.android.AppCloudResponse;
import com.flurry.android.AppCloudResponseHandler;
import org.json.JSONException;
import org.json.JSONObject;

final class k
  implements AppCloudResponseHandler
{
  k(b paramb)
  {
  }

  public final void handleResponse(AppCloudResponse paramAppCloudResponse)
    throws Exception
  {
    if (paramAppCloudResponse != null);
    try
    {
      if (paramAppCloudResponse.isSuccessful())
      {
        b.a(this.fo, paramAppCloudResponse.getResponse().getString("_id"));
        Log.d("Trestle", "Created object" + paramAppCloudResponse.getResponse().getString("_id"));
        b.a(this.fo).it = 701;
        b.a(this.fo).iu = paramAppCloudResponse;
      }
    }
    catch (JSONException localJSONException)
    {
      synchronized (b.b(this.fo))
      {
        while (true)
        {
          b.b(this.fo).notifyAll();
          return;
          Log.d("Trestle", "Created object Fail: " + paramAppCloudResponse.getResponseMessage());
          b.a(this.fo).it = 731;
        }
        localJSONException = localJSONException;
        localJSONException.printStackTrace();
      }
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.caching.k
 * JD-Core Version:    0.6.2
 */